import http from "@/utils/http2.js";
export function saveEnquiry(data) {
  return http.post("/v1/enquiry", data);
}
/**
 * 分页查询
 * @param {*} data
 * @returns
 */
export function queryEnquiry(data) {
  return http.post("/v1/enquiry/query", data);
}
/**
 * 创建货代询价单
 */
export function createEnquiry(data) {
  return http.post("/v1/HEnquiry/save", data);
}
/**
 * 查询货代询价单
 */
export function queryHEnquiry(data) {
  return http.post("/v1/freight/query", data);
}
/**
 * 保存货代报价单
 */
export function saveOffer(data) {
  return http.post("/v1/Offer/save", data);
}
/**
 * 查询货代报价单
 */
export function queryOffer(data) {
  return http.post("/v1/offer/query", data);
}
